<div class="chat_user chatUserArea">
    <div class="chat_not_list" id="chatNotArea">
        {if !empty($_GET['user_id'])}
        正在加载中...
        {else /}
        请选择左侧群聊列表进行聊天...
        {/if}
    </div>

    <div class="layui-hide" style="height:100%" id="chatRightArea">
        <div class="user_info">
            <div class="layui-form">
                <div class="layui-form-item" id="chatUserInfo">
                    <div class="layui-inline"><strong class="nick_name"></strong></div>
                    <div class="layui-inline userip_area"><em class="em_tic">ID</em><span class="group_id"></span></div>
                    <div class="layui-inline"><em class="em_tic">人数</em>(<span class="user_count">0</span>/500)</div>
                    <div class="layui-inline show_group_info showGroupInfo" ><i class="layui-icon layui-icon-spread-left"></i></div>
                </div>
            </div>
        </div>

        <div class="chat_content">
            <!--sessionid是会话表的主键id-->
            <div class="layui-hide" id="oneChatBaseInfo" data-groupid="{$group_id|default=''}" data-groupname="{$group_name|default=''}" data-anchorid="{$anchor_id|default=''}" data-anchorname="{$anchor_name|default=''}"></div>
            <!--聊天内容列表-->
            <div class="chat_cont_list" id="imTalkList"></div>
        </div>

        <!--发送聊天-->
        <div class="chat_cont_sendarea layui-form" id="chatSendArea">
            <textarea placeholder="请输入私聊内容" class="layui-textarea" name="content" id="writeContent" lay-verify="required" lay-reqText="请输入聊天内容"></textarea>
            <form class="layui-form" id="send_img_sbumit">
                <div class="layui-icon layui-icon-picture" style="position: absolute;right: 80px;bottom: 8px;font-size:38px;hwidth:60px" id="send_img"></div>
            </form>
            <button class="layui-btn send_btn" lay-submit="" lay-filter="expert-edit">发送</button>
        </div>
    </div>
</div>
<script src="/assets/cos-js-sdk-v5/cos-js-sdk-v5.min.js"></script>
<script>
    var private_chat_ws = "{$private_chat_ws}";
</script>